#pragma once

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

#define  ROW 9
#define  COL 9

#define  ROWS ROW + 2
#define  COLS COL + 2

#define Easy_count 10

void InitBoard(char borad[ROWS][COLS], int rows, int cols, char set);

displayboard(char board[ROWS][COLS], int row, int col);

void SetMine(char board[ROWS][COLS], int row, int col);

void FindMine(char board[ROWS][COLS], char showboard[ROWS][COLS], int rows, int cols);

int Getmine(char board[ROWS][COLS], int x, int y);